package phoenix.web.locators.base;

import org.openqa.selenium.By;

/**
 * Class provides base locators on User page
 */
public abstract class UserPageLocatorsBase
{
	// User profile block
	public By btnUpgradeCustom = By.xpath(".//*[@class='b-btn']//a[contains(@href,'/pay/membership')]");
	public By imgUserProfilePhoto = By.xpath(".//*[@class='b-user-profile']//*[contains(@href,'/pay/membership?via=photo_big')]");

	// Buttons
	public By btnMoreOnePhoto = By.xpath(".//*[@class='btn-view-more']");
	public By btnRemoveFromFriends = By.xpath(".//*[@class='b-profile-title']//a[contains(@class,'btn-activity btn-favorite active')]");
	public By btnWink = By.xpath("//a[@class='btn-activity btn-wink']");
	public By btnWinkActivated = By.xpath("//a[@class='btn-activity btn-wink active']");
	public By btnAddToFriends = By.xpath("//a[@class='btn-activity btn-favorite']");
	public By btnAddToFriendsActivated = By.xpath("//a[@class='btn-activity btn-favorite active']");
	public By btnEditLookingForInfo;
	public By btnEditPersonalInfo;

	// FGF related
	public By btnChat;
	public By btnLetter;

	// Main Info
	public By blockScreenName = By.xpath("//div[@class='b-user-info']//h2[@class='b-screenname']//span");
	public By blockAge = By.xpath("//div[@class='b-age']//span");
	public By blockLocation = By.xpath("(//div[@class='b-user-data']//div[@class='b-location']//span)[1]");

	// Personal Info
	public By blockHeight = By.xpath("//div[@class='b-data-list'][1]//li[1]//div[@class='b-value']");
	public By blockWeight = By.xpath("//div[@class='b-data-list'][1]//li[2]//div[@class='b-value']");
	public By blockBodyType = By.xpath("//div[@class='b-data-list'][1]//li[3]//div[@class='b-value']");
	public By blockHairColor = By.xpath("//div[@class='b-data-list'][1]//li[4]//div[@class='b-value']");
	public By blockEyeColor = By.xpath("//div[@class='b-data-list'][1]//li[5]//div[@class='b-value']");
	public By blockPiercing = By.xpath("//div[@class='b-data-list'][1]//li[6]//div[@class='b-value']");
	public By blockTattoos = By.xpath("//div[@class='b-data-list'][1]//li[7]//div[@class='b-value']");
	public By blockOrientation = By.xpath("//div[@class='b-data-list'][2]//li[1]//div[@class='b-value']");
	public By blockMaritalStatus = By.xpath("//div[@class='b-data-list'][2]//li[2]//div[@class='b-value']");
	public By blockChildren = By.xpath("//div[@class='b-data-list'][2]//li[3]//div[@class='b-value']");
	public By blockLiving = By.xpath("//div[@class='b-data-list'][2]//li[4]//div[@class='b-value']");
	public By blockIncome = By.xpath("//div[@class='b-data-list'][2]//li[5]//div[@class='b-value']");
	public By blockSmoke = By.xpath("//div[@class='b-data-list'][2]//li[6]//div[@class='b-value']");
	public By blockDrink = By.xpath("//div[@class='b-data-list'][2]//li[7]//div[@class='b-value']");
	public By blockEthnicOrigin = By.xpath("//div[@class='b-data-list'][3]//li[1]//div[@class='b-value']");
	public By blockReligion = By.xpath("//div[@class='b-data-list'][3]//li[2]//div[@class='b-value']");
	public By blockEducation = By.xpath("//div[@class='b-data-list'][3]//li[3]//div[@class='b-value']");

	// Looking for Info
	public By blockLookingGender = By.xpath("((//div[@class='b-column-wrap'])[1]//span)[2]");
	public By blockLookingAge = By.xpath("((//div[@class='b-column-wrap'])[2]//span)[2]");
	public By blockLookingLocation = By.xpath("((//div[@class='b-column-wrap'])[3]//span)[2]");
	public By blockLookingDistance = By.xpath("");

	// User Photo
	public By linkFreeCommunication = By.xpath(".//*[@class='b-free-communicate']");
	public By linkInvisibleMode = By.xpath(".//*[@class='b-invisible']");
	public By linkVipInSearch = By.xpath(".//*[@class='b-vip']");
	public By linkHotUser = By.xpath(".//*[@class='b-hot']");
	public By elementAwayIcon = By.xpath("//span[@class='status recently']");
}